Scoreboard data format:

Overrall format:
[
{scoreboard entry},
{scoreboard entry},
....
{scoreboard entry}
]


Scoreboard entry format:
{
  "id":"playtime", // Unique Id for scoreboard
  "title":"Total playtime", // Human readable title for scoreboard
  "data": 
  [
    //This demonstrates matching multiple entries and combining them, prefixing $ turns a field into a regex expression, 
    //the result rows are sum()'d together. This works for domain, world,cat and stat.
    //This field will display the total play time for a player across all worlds, and rank players highest to lowest.
    {
      "label":"play time", // Human readable label for field
      "domain":"default", // Domain (keep as "default" for BeardStat stats)
      "world":"$.*", //World, 
      "cat":"stats", //Catergory
      "stat":"playedfor", //statistic
      "order":{"idx":1,"type":"DESC"} //Optional ordering information, needed only if this field affects the rank.
      //idx denotes priority, starting from 1, type is DESC for descending (highest first) or ASC for ascending (lowest first)
    }, 
    //Simple field, does not affect ordering
    {"label":"last login","domain":"default","world":"__imported__","cat":"stats","stat":"lastlogin"}
  ]
}

wtf is __imported__ and __global__?

If you upgraded from an older version of BeardStat (< 0.6), old data will be transferred across automatically, however,
Because the old format did not store stats per world, they are given a "special" world, __imported__.

Certain stats do not pertain to a world, (login, logout, kicks). These are stored under the __global__ world.


tabs file format:

[
{tab},
{tab},
...
{tab}
]

tab entry format:

{
  "tabName": "General", //Name of tab
  
  "headings":[
  {
   "headingName":"General Statistics",//name of a heading section
   "display":[ //list of stats to show
   {"domain":"default","world":".*","cat":"stats","stat":"playedfor"}, 
   {"domain":"default","world":"__global__","cat":"stats","stat":"lastlogin"},
   {"domain":"default","world":".*","cat":"stats","stat":"move"},
   {"domain":"default","world":".*","cat":"vehicle","stat":"boat"},
   {"domain":"default","world":".*","cat":"vehicle","stat":"minecart"},
   {"domain":"default","world":".*","cat":"stats","stat":"armswing"}
   ]
  },
  {
   "headingName":"Blocks",
   "display":[
   {"domain":"default","world":".*","cat":"stats","stat":"totalblockcreate"},
   {"domain":"default","world":".*","cat":"stats","stat":"totalblockdestroy"}
   ]
  }
  ]
}